package com.study.demo.data;


import com.study.demo.db.ThreadInfo;
import com.study.demo.db.ThreadReply;

import java.util.List;

import io.reactivex.Single;

/**
 * Created by sll on 2016/6/3.
 * 帖子详情页数据源
 */
public interface ContentDataSource {

    Single<ThreadInfo> getThreadInfo(String fid, String tid);

    Single<List<ThreadReply>> getReplies(String fid, String tid, int page);

    Single<List<ThreadReply>> getLightReplies(String fid, String tid);
}
